#if !defined(AFX_OLEDATAOBJECTEX_H__EB8168CF_D9CE_4C37_8780_AC4FD8BD3792__INCLUDED_)
#define AFX_OLEDATAOBJECTEX_H__EB8168CF_D9CE_4C37_8780_AC4FD8BD3792__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// OleDataObjectEx.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// COleDataSourceEx document

class COleDataSourceEx : public COleDataSource
{
public:
	// helper methods to fix IDropSourceHelper
	DECLARE_INTERFACE_MAP()
	// handle name events
	BEGIN_INTERFACE_PART(DataObj, IDataObject)
		INIT_INTERFACE_PART(COleDataSourceEx, DataObject)
		// IDataObject
		STDMETHOD(GetData)(LPFORMATETC, LPSTGMEDIUM);
		STDMETHOD(GetDataHere)(LPFORMATETC, LPSTGMEDIUM);
		STDMETHOD(QueryGetData)(LPFORMATETC);
		STDMETHOD(GetCanonicalFormatEtc)(LPFORMATETC, LPFORMATETC);
		STDMETHOD(SetData)(LPFORMATETC, LPSTGMEDIUM, BOOL);
		STDMETHOD(EnumFormatEtc)(DWORD, LPENUMFORMATETC*);
		STDMETHOD(DAdvise)(LPFORMATETC, DWORD, LPADVISESINK, LPDWORD);
		STDMETHOD(DUnadvise)(DWORD);
		STDMETHOD(EnumDAdvise)(LPENUMSTATDATA*);
	END_INTERFACE_PART(DataObj)
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_OLEDATAOBJECTEX_H__EB8168CF_D9CE_4C37_8780_AC4FD8BD3792__INCLUDED_)
